Learning Pentaho CTools by 2016
Author:2016
Language: eng
Format: epub
Publisher: Packt Publishing
1
Option One
2
Option Two
3
Option Three
The code to apply such options would be as follows:
function(){ this.valuesArray = [ ["1","Option One"], ["2","Option Two"], ["3","Option Three"] ]; }
When setting false on the Value as ID option, you are telling the component that you want to display Option One, Option Two, and Option Three in the dropdown list, but when selecting a choice, you will get the corresponding ID and not the value itself. If you choose Option Two, the parameter that stores the value is written with the ID that for this case, would be 2. This is because you just said that you don't want to have the value as the ID.
When setting the property to true, you will still see in the dropdown the options: Option One, Option Two, and Option Three. If you choose Option Two, the parameter will be written with the value and not the ID. If that's the case, the parameter would have Option Two. This is because you said in the property that you want to use the value as the ID. When applying a filter and working with an MDX query, you can set the ID as the unique name of the member. When selecting one option, the ID will be written to the parameters that can be used in a query. This can be achieved by setting the values array or using a query that returns the following result:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7383)
Supercharging Productivity with Trello by Brittany Joiner(6644)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6423)
Mastering Tableau 2023 - Fourth Edition by Marleen Meier(6410)
Inkscape by Example by István Szép(6258)
Visualize Complex Processes with Microsoft Visio by David J Parker & Šenaj Lelić(5954)
Build Stunning Real-time VFX with Unreal Engine 5 by Hrishikesh Andurlekar(4952)
Design Made Easy with Inkscape by Christopher Rogers(4627)
Customizing Microsoft Teams by Gopi Kondameda(4163)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3937)
Extending Microsoft Power Apps with Power Apps Component Framework by Danish Naglekar(3752)
Business Intelligence Career Master Plan by Eduardo Chavez & Danny Moncada(3733)
Salesforce Platform Enterprise Architecture - Fourth Edition by Andrew Fawcett(3630)
Pandas Cookbook by Theodore Petrou(3603)
The Tableau Workshop by Sumit Gupta Sylvester Pinto Shweta Sankhe-Savale JC Gillet and Kenneth Michael Cherven(3406)
TCP IP by Todd Lammle(2989)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2923)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2881)
Exploring Microsoft Excel's Hidden Treasures by David Ringstrom(2867)
